#include "Music.h"

#include "_Music.h"

Music::Music(std::string musicId, std::string fileName) {
  _Music::getInstance().loadMusic(musicId, fileName);  //错误处理已在内部搞定
  Music::musicId = musicId;
}

void Music::play(bool isLoop) {
  _Music::getInstance().playMusic(musicId, isLoop);  //错误处理已在内部搞定
}

